package cn.initcap.bio.udp.search.server;

import cn.initcap.bio.udp.search.constants.TcpConstants;
import java.io.IOException;

/**
 * @author initcap
 * @date Created in 5/1/19 2:43 PM.
 */
public class Server {

    public static void main(String[] args) {
        UdpProvider.start(TcpConstants.PORT_SERVER);

        try {
            //noinspection ResultOfMethodCallIgnored
            System.in.read();
        } catch (IOException e) {
            e.printStackTrace();
        }

        UdpProvider.stop();
    }

}
